home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 25
/
CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso
/
CUCD
/
Programming
/
Triton
/
Source
/
classes
/
button.def
< prev
next >
Wrap
Text File
|
1998-05-23
|
1KB
|
34 lines
#ifndef TRCL_BUTTON_DEFINED
#define TRCL_BUTTON_DEFINED
#include "displayobject.def"
struct TROD_Button
{
struct TROD_DisplayObject DO;
struct Image * Image;
struct Gadget * Gadget;
STRPTR Text;
ULONG TextLength;
ULONG PixelTextLength;
ULONG Type;
struct IClass * BClass;
ULONG Flags;
UWORD BorderHeight;
BOOL IsPressed;
};
extern TR_METHOD(Button,NEW,NewData);
extern TR_SIMPLEMETHOD(Button,DISPOSE);
extern TR_METHOD(Button,INSTALL,InstallData);
extern TR_SIMPLEMETHOD(Button,REMOVE);
extern TR_METHOD(Button,SETATTRIBUTE,SetAttributeData);
extern TR_METHOD(Button,KEYDOWN,EventData);
extern TR_METHOD(Button,KEYUP,EventData);
extern TR_METHOD(Button,KEYCANCELLED_DISABLED_ENABLED,EventData);
extern TR_METHOD(Button,EVENT,EventData);
extern TR_SIMPLEMETHOD(Button,CREATECLASS);
extern TR_SIMPLEMETHOD(Button,DISPOSECLASS);
#endif